package cn.lyn4ever.cataccount.mapper;

import cn.lyn4ever.cataccount.entity.AnalysisBill;
import cn.lyn4ever.cataccount.entity.Bill;
import cn.lyn4ever.cataccount.entity.Property;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BillMapper {
    int insertOne(Bill bill);

    List<Bill> list(Bill userid);

    AnalysisBill getAnalysisBills(Bill bill);

    Bill getOne(Bill bill);

    List<Bill> getListByProperty(Property property);

    int delOne(Bill bill);

}
